package com.oa.admin.mapper;

import com.oa.admin.dto.EmpBenefitsRemindListDTO;
import com.oa.admin.entity.EmpBenefitsRemind;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 员工福利提醒 Mapper 接口
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface EmpBenefitsRemindMapper extends BaseMapper<EmpBenefitsRemind> {
    /**
     * 分页查询列表
     *
     * @param page
     * @return
     */
    List<EmpBenefitsRemind> findList(Pagination page, EmpBenefitsRemindListDTO empBenefitsRemindListDTO);

    /**
     * 根据id查询
     */
    EmpBenefitsRemind findById(@Param("id") String id);

}
